package lemon.dog.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * 
 * @TableName t_comment
 */
@Data
@TableName(value ="t_comment")
public class Comment implements Serializable {

    @TableId
    private Long id;

    private Long commentUserId;

    private Long commentArticleId;

    private Long commentLikeCount;

    private String commentContent;

    private Long parentCommentId;

    private Date commentCreateDate;

    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

}